cody - HTMLify profile

cody
4270 Files
636146 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/67 - Currency Converter
* {
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
display: flex;
flex-direction: column;
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
display: flex;
flex-direction: column;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Currency_Converter_in_Javascript</title>
<link rel="stylesheet" href="style.css" />
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Currency_Converter_in_Javascript</title>
<link rel="stylesheet" href="style.css" />
I have added a Currency Converter.
It allows user to type digits(amount) and we have real time conversions as they type.
It fetches recent rates from the exchangerate API.
The UI is pretty simple and neat.
It allows user to type digits(amount) and we have real time conversions as they type.
It fetches recent rates from the exchangerate API.
The UI is pretty simple and neat.
const exchange_rate = document.getElementById('exchange-rate');
const curr_first = document.getElementById('curr-first');
const curr_second = document.getElementById('curr-second');
const worth_first = document.getElementById('worth-first');
const worth_second = document.getElementById('worth-second');
const swap_curr = document.getElementById('swap-curr');
function swap() {
const curr_first = document.getElementById('curr-first');
const curr_second = document.getElementById('curr-second');
const worth_first = document.getElementById('worth-first');
const worth_second = document.getElementById('worth-second');
const swap_curr = document.getElementById('swap-curr');
function swap() {